import { RouteRecordRaw } from 'vue-router';
import * as mdi from '@quasar/extras/mdi-v6';

const monitorRoutes: RouteRecordRaw[] = [
  {
    path: '/monitor',
    component: () => import('src/layouts/MainLayout.vue'),
    meta: { title: '系统监控', icon: mdi.mdiMonitor },
    children: [
      {
        path: 'log',
        name: 'Log',
        component: () => import('src/pages/monitor/operate-log/index.vue'),
        meta: { title: '操作日志', icon: mdi.mdiDatabaseCogOutline },
      },
    ],
  },
];

export default monitorRoutes;
